Optimal. Leaf size=267 \[ \frac{2 b d^3 n \log \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{e^3}-\frac{6 b d^2 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{e^3}+\frac{3 b d n \left (d+e \sqrt [3]{x}\right )^2 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{e^3}-\frac{2 b n \left (d+e \sqrt [3]{x}\right )^3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{3 e^3}+x \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2+\frac{6 b^2 d^2 n^2 \sqrt [3]{x}}{e^2}-\frac{b^2 d^3 n^2 \log ^2\left (d+e \sqrt [3]{x}\right )}{e^3}-\frac{3 b^2 d n^2 \left (d+e \sqrt [3]{x}\right )^2}{2 e^3}+\frac{2 b^2 n^2 \left (d+e \sqrt [3]{x}\right )^3}{9 e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.289783, antiderivative size = 210, normalized size of antiderivative = 0.79, number of steps used = 8, number of rules used = 8, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.4, Rules used = {2451, 2398, 2411, 43, 2334, 12, 14, 2301} \[ -\frac{1}{3} b n \left (\frac{18 d^2 \left (d+e \sqrt [3]{x}\right )}{e^3}-\frac{6 d^3 \log \left (d+e \sqrt [3]{x}\right )}{e^3}-\frac{9 d \left (d+e \sqrt [3]{x}\right )^2}{e^3}+\frac{2 \left (d+e \sqrt [3]{x}\right )^3}{e^3}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )+x \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2+\frac{6 b^2 d^2 n^2 \sqrt [3]{x}}{e^2}-\frac{b^2 d^3 n^2 \log ^2\left (d+e \sqrt [3]{x}\right )}{e^3}-\frac{3 b^2 d n^2 \left (d+e \sqrt [3]{x}\right )^2}{2 e^3}+\frac{2 b^2 n^2 \left (d+e \sqrt [3]{x}\right )^3}{9 e^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2451
Rule 2398
Rule 2411
Rule 43
Rule 2334
Rule 12
Rule 14
Rule 2301
Rubi steps
\begin{align*} \int \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \, dx &=3 \operatorname{Subst}\left (\int x^2 \left (a+b \log \left (c (d+e x)^n\right )\right )^2 \, dx,x,\sqrt [3]{x}\right )\\ &=x \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2-(2 b e n) \operatorname{Subst}\left (\int \frac{x^3 \left (a+b \log \left (c (d+e x)^n\right )\right )}{d+e x} \, dx,x,\sqrt [3]{x}\right )\\ &=x \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2-(2 b n) \operatorname{Subst}\left (\int \frac{\left (-\frac{d}{e}+\frac{x}{e}\right )^3 \left (a+b \log \left (c x^n\right )\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )\\ &=-\frac{1}{3} b n \left (\frac{18 d^2 \left (d+e \sqrt [3]{x}\right )}{e^3}-\frac{9 d \left (d+e \sqrt [3]{x}\right )^2}{e^3}+\frac{2 \left (d+e \sqrt [3]{x}\right )^3}{e^3}-\frac{6 d^3 \log \left (d+e \sqrt [3]{x}\right )}{e^3}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )+x \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2+\left (2 b^2 n^2\right ) \operatorname{Subst}\left (\int \frac{18 d^2 x-9 d x^2+2 x^3-6 d^3 \log (x)}{6 e^3 x} \, dx,x,d+e \sqrt [3]{x}\right )\\ &=-\frac{1}{3} b n \left (\frac{18 d^2 \left (d+e \sqrt [3]{x}\right )}{e^3}-\frac{9 d \left (d+e \sqrt [3]{x}\right )^2}{e^3}+\frac{2 \left (d+e \sqrt [3]{x}\right )^3}{e^3}-\frac{6 d^3 \log \left (d+e \sqrt [3]{x}\right )}{e^3}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )+x \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2+\frac{\left (b^2 n^2\right ) \operatorname{Subst}\left (\int \frac{18 d^2 x-9 d x^2+2 x^3-6 d^3 \log (x)}{x} \, dx,x,d+e \sqrt [3]{x}\right )}{3 e^3}\\ &=-\frac{1}{3} b n \left (\frac{18 d^2 \left (d+e \sqrt [3]{x}\right )}{e^3}-\frac{9 d \left (d+e \sqrt [3]{x}\right )^2}{e^3}+\frac{2 \left (d+e \sqrt [3]{x}\right )^3}{e^3}-\frac{6 d^3 \log \left (d+e \sqrt [3]{x}\right )}{e^3}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )+x \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2+\frac{\left (b^2 n^2\right ) \operatorname{Subst}\left (\int \left (18 d^2-9 d x+2 x^2-\frac{6 d^3 \log (x)}{x}\right ) \, dx,x,d+e \sqrt [3]{x}\right )}{3 e^3}\\ &=-\frac{3 b^2 d n^2 \left (d+e \sqrt [3]{x}\right )^2}{2 e^3}+\frac{2 b^2 n^2 \left (d+e \sqrt [3]{x}\right )^3}{9 e^3}+\frac{6 b^2 d^2 n^2 \sqrt [3]{x}}{e^2}-\frac{1}{3} b n \left (\frac{18 d^2 \left (d+e \sqrt [3]{x}\right )}{e^3}-\frac{9 d \left (d+e \sqrt [3]{x}\right )^2}{e^3}+\frac{2 \left (d+e \sqrt [3]{x}\right )^3}{e^3}-\frac{6 d^3 \log \left (d+e \sqrt [3]{x}\right )}{e^3}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )+x \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2-\frac{\left (2 b^2 d^3 n^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,d+e \sqrt [3]{x}\right )}{e^3}\\ &=-\frac{3 b^2 d n^2 \left (d+e \sqrt [3]{x}\right )^2}{2 e^3}+\frac{2 b^2 n^2 \left (d+e \sqrt [3]{x}\right )^3}{9 e^3}+\frac{6 b^2 d^2 n^2 \sqrt [3]{x}}{e^2}-\frac{b^2 d^3 n^2 \log ^2\left (d+e \sqrt [3]{x}\right )}{e^3}-\frac{1}{3} b n \left (\frac{18 d^2 \left (d+e \sqrt [3]{x}\right )}{e^3}-\frac{9 d \left (d+e \sqrt [3]{x}\right )^2}{e^3}+\frac{2 \left (d+e \sqrt [3]{x}\right )^3}{e^3}-\frac{6 d^3 \log \left (d+e \sqrt [3]{x}\right )}{e^3}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )+x \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2\\ \end{align*}
Mathematica [A] time = 0.126614, size = 197, normalized size = 0.74 \[ \frac{18 a^2 \left (d^3+e^3 x\right )+6 b \left (6 a \left (d^3+e^3 x\right )-b n \left (6 d^2 e \sqrt [3]{x}+11 d^3-3 d e^2 x^{2/3}+2 e^3 x\right )\right ) \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )+6 a b n \left (-6 d^2 e \sqrt [3]{x}+7 d^3+3 d e^2 x^{2/3}-2 e^3 x\right )+18 b^2 \left (d^3+e^3 x\right ) \log ^2\left (c \left (d+e \sqrt [3]{x}\right )^n\right )+b^2 e n^2 \sqrt [3]{x} \left (66 d^2-15 d e \sqrt [3]{x}+4 e^2 x^{2/3}\right )}{18 e^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.093, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b\ln \left ( c \left ( d+e\sqrt [3]{x} \right ) ^{n} \right ) \right ) ^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.05169, size = 293, normalized size = 1.1 \begin{align*} \frac{1}{3} \,{\left (e n{\left (\frac{6 \, d^{3} \log \left (e x^{\frac{1}{3}} + d\right )}{e^{4}} - \frac{2 \, e^{2} x - 3 \, d e x^{\frac{2}{3}} + 6 \, d^{2} x^{\frac{1}{3}}}{e^{3}}\right )} + 6 \, x \log \left ({\left (e x^{\frac{1}{3}} + d\right )}^{n} c\right )\right )} a b + \frac{1}{18} \,{\left (6 \, e n{\left (\frac{6 \, d^{3} \log \left (e x^{\frac{1}{3}} + d\right )}{e^{4}} - \frac{2 \, e^{2} x - 3 \, d e x^{\frac{2}{3}} + 6 \, d^{2} x^{\frac{1}{3}}}{e^{3}}\right )} \log \left ({\left (e x^{\frac{1}{3}} + d\right )}^{n} c\right ) + 18 \, x \log \left ({\left (e x^{\frac{1}{3}} + d\right )}^{n} c\right )^{2} - \frac{{\left (18 \, d^{3} \log \left (e x^{\frac{1}{3}} + d\right )^{2} - 4 \, e^{3} x + 66 \, d^{3} \log \left (e x^{\frac{1}{3}} + d\right ) + 15 \, d e^{2} x^{\frac{2}{3}} - 66 \, d^{2} e x^{\frac{1}{3}}\right )} n^{2}}{e^{3}}\right )} b^{2} + a^{2} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.97478, size = 664, normalized size = 2.49 \begin{align*} \frac{18 \, b^{2} e^{3} x \log \left (c\right )^{2} + 18 \,{\left (b^{2} e^{3} n^{2} x + b^{2} d^{3} n^{2}\right )} \log \left (e x^{\frac{1}{3}} + d\right )^{2} - 12 \,{\left (b^{2} e^{3} n - 3 \, a b e^{3}\right )} x \log \left (c\right ) + 2 \,{\left (2 \, b^{2} e^{3} n^{2} - 6 \, a b e^{3} n + 9 \, a^{2} e^{3}\right )} x + 6 \,{\left (3 \, b^{2} d e^{2} n^{2} x^{\frac{2}{3}} - 6 \, b^{2} d^{2} e n^{2} x^{\frac{1}{3}} - 11 \, b^{2} d^{3} n^{2} + 6 \, a b d^{3} n - 2 \,{\left (b^{2} e^{3} n^{2} - 3 \, a b e^{3} n\right )} x + 6 \,{\left (b^{2} e^{3} n x + b^{2} d^{3} n\right )} \log \left (c\right )\right )} \log \left (e x^{\frac{1}{3}} + d\right ) - 3 \,{\left (5 \, b^{2} d e^{2} n^{2} - 6 \, b^{2} d e^{2} n \log \left (c\right ) - 6 \, a b d e^{2} n\right )} x^{\frac{2}{3}} + 6 \,{\left (11 \, b^{2} d^{2} e n^{2} - 6 \, b^{2} d^{2} e n \log \left (c\right ) - 6 \, a b d^{2} e n\right )} x^{\frac{1}{3}}}{18 \, e^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + b \log{\left (c \left (d + e \sqrt [3]{x}\right )^{n} \right )}\right )^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.37276, size = 647, normalized size = 2.42 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]